package org.example.day20240822;

public class cleaner extends employee{
    Double salary;
    Integer days;

    public Double countSalary(){
        return this.days*this.salary;
    }

    public cleaner(String name, Double salary, Integer days) {
        super(name);
        this.salary = salary;
        this.days = days;
    }
}
